<!--
 * @Author: zhouwei wei.zhou@flip.fun
 * @Date: 2023-07-10 14:18:43
 * @LastEditors: zhouwei wei.zhou@flip.fun
 * @LastEditTime: 2024-05-15 15:50:57
 * @FilePath: /js_study/big.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
	disabled={item.bottomValueEnable}
	<meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>Document</title>
	<script src="https://cdn.jsdelivr.net/npm/big.js@6.2.1/big.js"></script>
	<style>
		* {
			margin: 0;
			padding: 0;
		}

		body,
		html {
			width: 100%;
			height: 100%;
		}

		.bot {
			display: inline-block;
			line-height: 16px;
			border-bottom: 1px dashed #ff9a00;
		}
	</style>
</head>

<body></body>
<script>
	const handler = {
		get(target, key, receiver) {
			console.log(target);
			return Reflect.get(target, key, receiver)
		},
	}
	const obj = {
		name: 'zw',
		get a() {
			// console.log(this === proxyObj);
			return false
		}
	}
	const proxyObj = new Proxy(obj, handler)
	const chilren = {}
	Object.setPrototypeOf(chilren, proxyObj)
	// console.log(chilren.__proto__ === proxyObj);
	console.log(chilren.a);
</script>

</html>